#include "includes2DPC.h"
#include "pocs2DPC.h"
// Code performing a priori knowlegde projection.
using namespace std;
void P3apriori(ScanData & s, int j)
{
	int i;
	for (i=0; i<s.Nx; i++){
		if(s.APmask[i][j]) s.recon[i][j] = s.APdata[i][j]; 
	}
}

void P3apriori_perp(ScanData & s, int i)
{
	int j;
	for (j=0; j<s.Ny; j++){
		if(s.APmask_perp[i][j]) s.recon[i][j] = s.APdata[i][j]; 
	}
}
